﻿// cycling.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//

#include <iostream>

int main()
{

	for (int Mike = 1; Mike <= 4; Mike++) {
		for (int Ellie = 1; Ellie <= 4; Ellie++) {
			for (int Rohan = 1; Rohan <= 4; Rohan++) {
				for (int Fatma = 1; Fatma <= 4; Fatma++) {
					for (int red = 1; red <= 4; red++) {
						for (int purple = 1; purple <= 4; purple++) {
							for (int green = 1; green <= 4; green++) {
								for (int blue = 1; blue <= 4; blue++) {
									if (Rohan != green && Ellie == purple && Mike != 1 && Ellie != 1 && Mike != 4 && Ellie != 4 && blue < Fatma && green < purple&&Mike!=Ellie&&Mike!=Rohan&&Mike!=Fatma&&Ellie!=Rohan&&Ellie!=Fatma&&Rohan!=Fatma&&red!=purple&&red!=blue&&red!=green&&purple!=blue&&purple!=green&&blue!=green) {
										printf("Mike-%d\n", Mike);
										printf("Ellie-%d\n", Ellie);
										printf("Rohan-%d\n", Rohan);
										printf("Fatma-%d\n", Fatma);
									}
								}

							}
						}
					}
				}
			}
		}
	}

}
